﻿using System.Reflection;
using EYCmsAdmin.Presentation.IPresentationServices;
using EYCmsAdmin.Presentation.PresentationServices;
using Ninject;
using Ninject.Extensions.Conventions;

namespace NinjectManager.NinjectInstallers
{
    public static class PresentationServicesInstaller
    {
         public static void Instal(IKernel kernel)
         {
             kernel.Bind(x => x.From(Assembly.Load("EYCmsAdmin.Presentation")).SelectAllClasses().BindDefaultInterface());
         }
    }
}